package com.wcity.manage.dao.model.community.survey;

import java.util.Date;

/**
 * 社区概况
 * Created by hgg on 2016/12/14.
 */
public class Survey {

    private Integer id;

    /**
     * 社区概况内容
     */
    private String communityContent;

    /**
     * 小区Id
     */
    private Integer communityId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 社区所属用户
     */
    private Integer userId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 上一级id（0父级）
     */
    private Integer parentId;

    public Survey() {
    }

    public Survey(Integer id, String communityContent, Integer communityId, Integer userId, String remark,Integer parentId) {
        this.id = id;
        this.communityContent = communityContent;
        this.communityId = communityId;
        this.userId = userId;
        this.remark = remark;
        this.parentId = parentId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommunityContent() {
        return communityContent;
    }

    public void setCommunityContent(String communityContent) {
        this.communityContent = communityContent;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

}
